package com.tsinghua.server.original.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tsinghua.server.original.entity.FxjcCyz;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
* @author ALW
* @description 针对表【fxjc_cyz】的数据库操作Mapper
* @createDate 2022-03-05 00:08:51
* @Entity com.tsinghua.server.original.entity.FxjcCyz
*/
public interface FxjcCyzMapper extends BaseMapper<FxjcCyz> {

    @Update("truncate table fxjc_cyz")
    void delAll();

    List<Map<String,Object>> selectByTable(String tableName);

    IPage selectDataByTable(Page page, String tableName,String zwzt);

    IPage selectTrainingDataByTable(Page page, String tableName,String zwzt);

    List<Map<String, Object>> findProvinces(String tableName);
}




